<%@ page language="java" contentType="text/html; charset=utf-8" import="java.util.*"
    pageEncoding="utf-8"%>  <%@page import="com.adl.hotelmanage.po.adminuser"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<script type="text/javascript" src="js/respond.min.js"></script>
<script type="text/javascript" src="js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title>用户查看</title>
<style>
body{ min-height:200px; font-size:14px;}
td,th{ font-size:14px;}
</style>
</head>
<body>
<div>
  <table class="table table-border table-bordered table-hover table-bg table-sort">
    <thead>
      <tr class="text-c">
        <th width="25"><input type="checkbox" name="" value=""></th>
        <th width="30">姓名</th>
        <th width="100">密码</th>
        <th width="100">电话</th>
        <th width="90">家庭住址</th>
        <th width="50">性别</th>
       
      </tr>
    </thead>
<%
   List<adminuser> list = (List<adminuser>) request.getAttribute("userlist"); 
   // 判断集合是否有效 
 if (list == null || list.size() < 1) { 
        out.print("没有数据！"); 
      }
 else{
	 for (adminuser user: list) { %>
    <tbody>
   
      <tr class="text-c">
        <td><input type="checkbox" value="1" name=""></td>
        <td><%=user.getUserName()%></td>
        <td><%=user.getUserPass() %></td>
        <td><%=user.getTelphone() %></td>
        <td><%=user.getDepartment() %></td>
        <td><%=user.getSex() %></td>
   
   <%}
 } %>	
  </table>
</div>
	
<script type="text/javascript" src="js/jquery.min.js"></script> 
<script type="text/javascript" src="js/H-ui.js"></script> 
<script type="text/javascript" src="js/H-ui.admin.js"></script> 

</body>
</html>